<template>
	<view class="relative">
		<view class="g-pages-bottom">
			<slot></slot>
			<view class="safe-area" style="">

			</view>
		</view>
		<view class="g-pages-bottom-mack"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		created() {},
		methods: {},
		watch: {},
		props: {},
		computed: {}
	}
</script>

<style lang="scss" scoped>
	.g-pages-bottom-mack {
		width: 100vw;
		height: 140rpx;
	}

	.g-pages-bottom {
		width: 100vw;
		position: fixed;
		left: 0;
		bottom: 0;
	}

	.safe-area {
		width: 100%;
		padding-bottom: env(safe-area-inset-bottom);
		padding-bottom: constant(safe-area-inset-bottom);
	}
</style>